package it.koutifaris.travianmap.map.randommap;

import it.koutifaris.travianmap.model.Alliance;
import it.koutifaris.travianmap.model.Player;
import it.koutifaris.travianmap.model.Tribe;
import it.koutifaris.travianmap.model.Village;
import it.koutifaris.travianmap.model.impl.EmptyAlliance;

import java.util.ArrayList;
import java.util.List;

public class RandomPlayer implements Player {

	private final Tribe tribe;
	private final List<Village> villages;

	public RandomPlayer(Tribe tribe) {
		this.tribe = tribe;
		this.villages = new ArrayList<Village>();
	}

	@Override
	public int getElementId() {
		return -100;
	}

	@Override
	public String getName() {
		return "Random " + getTribe() + " Player";
	}

	@Override
	public Alliance getAlliance() {
		return EmptyAlliance.emptyAlliance();
	}

	@Override
	public Tribe getTribe() {
		return tribe;
	}

	@Override
	public List<Village> getVillages() {
		return villages;
	}

}
